package com.heu.blood.autologous.exception;

import com.heu.blood.globalExceptionHandler.BaseErrorInfoInterface;

public enum SendAutologousExceptionEnum implements BaseErrorInfoInterface {

    DUPLICATE_BLOOD_SEND("12301","当前血袋已发血不可重复发血");



    SendAutologousExceptionEnum(String resultCode, String resultMsg){
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    // 错误码
    private final String resultCode;

    // 错误提示
    private final String resultMsg;
    @Override
    public String getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }

}
